/**
 * Copyright (c) 2005-2016, yinwer81 (yinwer81@aliyun.com)
 *
 * Licensed under the Apache License, Version 2.0
 */
package com.nozturn.throne.entity;

import java.io.Serializable;
import java.sql.Date;

public class OAuthInfoDTO implements Serializable {

    private static final long serialVersionUID = 2883083340243979804L;

    private Long accessTokenPk;

    private String accessToken;

    private Date createdAt;

    private Integer expiresIn;

    private Integer accessTokenValid;

    private Long authorizationPk;

    private String authorizationCode;

    private Integer authorizationValid;

    private Long userPk;

    private String username;

    private Integer usertype;

    private Integer userValid;

    private Long clientPk;

    private String clientName;

    private String clientId;

    private String clientSecret;

    private String clientValid;

    public Long getAccessTokenPk() {
        return accessTokenPk;
    }

    public void setAccessTokenPk(Long accessTokenPk) {
        this.accessTokenPk = accessTokenPk;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Integer getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }

    public Integer getAccessTokenValid() {
        return accessTokenValid;
    }

    public void setAccessTokenValid(Integer accessTokenValid) {
        this.accessTokenValid = accessTokenValid;
    }

    public Long getAuthorizationPk() {
        return authorizationPk;
    }

    public void setAuthorizationPk(Long authorizationPk) {
        this.authorizationPk = authorizationPk;
    }

    public String getAuthorizationCode() {
        return authorizationCode;
    }

    public void setAuthorizationCode(String authorizationCode) {
        this.authorizationCode = authorizationCode;
    }

    public Integer getAuthorizationValid() {
        return authorizationValid;
    }

    public void setAuthorizationValid(Integer authorizationValid) {
        this.authorizationValid = authorizationValid;
    }

    public Long getUserPk() {
        return userPk;
    }

    public void setUserPk(Long userPk) {
        this.userPk = userPk;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUsertype() {
        return usertype;
    }

    public void setUsertype(Integer usertype) {
        this.usertype = usertype;
    }

    public Integer getUserValid() {
        return userValid;
    }

    public void setUserValid(Integer userValid) {
        this.userValid = userValid;
    }

    public Long getClientPk() {
        return clientPk;
    }

    public void setClientPk(Long clientPk) {
        this.clientPk = clientPk;
    }

    public String getClientName() {
        return clientName;
    }

    public void setClientName(String clientName) {
        this.clientName = clientName;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }

    public String getClientValid() {
        return clientValid;
    }

    public void setClientValid(String clientValid) {
        this.clientValid = clientValid;
    }

}
